home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / powerdynamo.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  13KB  |  465 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4. <!--
  5. Sybase PowerDynamo mode file for jEdit - v 1.0
  6. (For the 5 people in the world who still have to program in dynamo.)
  7.  
  8. By Ben Williams (benw@webmedia.com.au)
  9.  
  10. 1.0  2003-11-13
  11. Initial release - supports dynamo script, SQL tags, and mostly complete support
  12. for the other tags (data, document, etc). more support planned for future.
  13.  
  14. -->
  15. <MODE>
  16.     <PROPS>
  17.         <PROPERTY NAME="indentOpenBrackets" VALUE="{" />
  18.         <PROPERTY NAME="indentCloseBrackets" VALUE="}" />
  19.         <PROPERTY NAME="wordBreakChars" VALUE=" @    %^*()+=|\{}[]:;,.?$&" />
  20.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  21.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  22.         <PROPERTY NAME="lineComment" VALUE="//" />
  23.     </PROPS>
  24.     <RULES IGNORE_CASE="TRUE">
  25.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
  26.             <BEGIN><!--script</BEGIN>
  27.             <END>--></END>
  28.         </SPAN>
  29.  
  30.         <!-- these are the other dynamo tag types. for the meoment, we'll just hand them over to powerdynamo-script,
  31.              but in future versions we can easily add individual processing for each of them, as they should have.
  32.         -->
  33.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-data">
  34.             <BEGIN><!--data</BEGIN>
  35.             <END>--></END>
  36.         </SPAN>
  37.  
  38.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-document">
  39.             <BEGIN><!--document</BEGIN>
  40.             <END>--></END>
  41.         </SPAN>
  42.  
  43.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
  44.             <BEGIN><!--evaluate</BEGIN>
  45.             <END>--></END>
  46.         </SPAN>
  47.  
  48.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
  49.             <BEGIN><!--execute</BEGIN>
  50.             <END>--></END>
  51.         </SPAN>
  52.  
  53.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  54.             <BEGIN><!--formatting</BEGIN>
  55.             <END>--></END>
  56.         </SPAN>
  57.  
  58.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  59.             <BEGIN><!--/formatting</BEGIN>
  60.             <END>--></END>
  61.         </SPAN>
  62.  
  63.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  64.             <BEGIN><!--include</BEGIN>
  65.             <END>--></END>
  66.         </SPAN>
  67.  
  68.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  69.             <BEGIN><!--label</BEGIN>
  70.             <END>--></END>
  71.         </SPAN>
  72.  
  73.         <SPAN TYPE="LABEL" DELEGATE="transact-sql::MAIN">
  74.             <BEGIN><!--sql</BEGIN>
  75.             <END>--></END>
  76.         </SPAN>
  77.  
  78.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  79.             <BEGIN><!--sql_error_code</BEGIN>
  80.             <END>--></END>
  81.         </SPAN>
  82.  
  83.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  84.             <BEGIN><!--sql_error_info</BEGIN>
  85.             <END>--></END>
  86.         </SPAN>
  87.  
  88.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  89.             <BEGIN><!--sql_state</BEGIN>
  90.             <END>--></END>
  91.         </SPAN>
  92.  
  93.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  94.             <BEGIN><!--sql_on_no_error</BEGIN>
  95.             <END>--></END>
  96.         </SPAN>
  97.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  98.             <BEGIN><!--/sql_on_no_error</BEGIN>
  99.             <END>--></END>
  100.         </SPAN>
  101.  
  102.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  103.             <BEGIN><!--sql_on_error</BEGIN>
  104.             <END>--></END>
  105.         </SPAN>
  106.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  107.             <BEGIN><!--/sql_on_error</BEGIN>
  108.             <END>--></END>
  109.         </SPAN>
  110.  
  111.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  112.             <BEGIN><!--sql_on_no_rows</BEGIN>
  113.             <END>--></END>
  114.         </SPAN>
  115.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  116.             <BEGIN><!--/sql_on_no_rows</BEGIN>
  117.             <END>--></END>
  118.         </SPAN>
  119.  
  120.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  121.             <BEGIN><!--sql_on_rows</BEGIN>
  122.             <END>--></END>
  123.         </SPAN>
  124.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-tag-general">
  125.             <BEGIN><!--/sql_on_rows</BEGIN>
  126.             <END>--></END>
  127.         </SPAN>
  128.  
  129.         <!-- SGML comment -->
  130.         <SPAN TYPE="COMMENT1">
  131.             <BEGIN><!--</BEGIN>
  132.             <END>--></END>
  133.         </SPAN>
  134.  
  135.         <!-- JavaScript -->
  136.         <SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
  137.             <BEGIN><SCRIPT</BEGIN>
  138.             <END></SCRIPT></END>
  139.         </SPAN>
  140.  
  141.         <!-- stylesheet -->
  142.         <SPAN TYPE="MARKUP" DELEGATE="html::CSS">
  143.             <BEGIN><STYLE</BEGIN>
  144.             <END></STYLE></END>
  145.         </SPAN>
  146.  
  147.         <!-- DTD instructions -->
  148.         <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
  149.             <BEGIN><!</BEGIN>
  150.             <END>></END>
  151.         </SPAN>
  152.  
  153.         <!-- markup tags -->
  154.         <SPAN TYPE="MARKUP" DELEGATE="TAGS">
  155.             <BEGIN><</BEGIN>
  156.             <END>></END>
  157.         </SPAN>
  158.  
  159.         <!-- SGML entities -->
  160.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  161.             <BEGIN>&</BEGIN>
  162.             <END>;</END>
  163.         </SPAN>
  164.     </RULES>
  165.  
  166.     <RULES SET="TAGS" DEFAULT="MARKUP">
  167.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
  168.             <BEGIN><!--script</BEGIN>
  169.             <END>--?></END>
  170.         </SPAN>
  171.  
  172.         <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL">
  173.             <BEGIN>"</BEGIN>
  174.             <END>"</END>
  175.         </SPAN>
  176.  
  177.         <SPAN TYPE="LITERAL1" DELEGATE="TAGS_LITERAL">
  178.             <BEGIN>'</BEGIN>
  179.             <END>'</END>
  180.         </SPAN>
  181.  
  182.         <SEQ TYPE="OPERATOR">=</SEQ>
  183.     </RULES>
  184.  
  185.     <RULES SET="TAGS_LITERAL" DEFAULT="LITERAL1">
  186.         <SPAN TYPE="LABEL" DELEGATE="powerdynamo-script">
  187.             <BEGIN><!--script</BEGIN>
  188.             <END>?--></END>
  189.         </SPAN>
  190.     </RULES>
  191.  
  192.     <RULES SET="powerdynamo-script" HIGHLIGHT_DIGITS="TRUE">
  193.         <!--PROPS>
  194.             <PROPERTY NAME="commentStart" VALUE="/*" />
  195.             <PROPERTY NAME="lineComment" VALUE="//" />
  196.         </PROPS-->
  197.  
  198.         <SPAN TYPE="COMMENT1">
  199.             <BEGIN>/*</BEGIN>
  200.             <END>*/</END>
  201.         </SPAN>
  202.  
  203.         <SPAN TYPE="LITERAL1">
  204.             <BEGIN>"</BEGIN>
  205.             <END>"</END>
  206.         </SPAN>
  207.         <SPAN TYPE="LITERAL1">
  208.             <BEGIN>'</BEGIN>
  209.             <END>'</END>
  210.         </SPAN>
  211.  
  212.         <EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>
  213.  
  214.         <SEQ TYPE="OPERATOR">=</SEQ>
  215.         <SEQ TYPE="OPERATOR">!</SEQ>
  216.         <SEQ TYPE="OPERATOR">>=</SEQ>
  217.         <SEQ TYPE="OPERATOR"><=</SEQ>
  218.         <SEQ TYPE="OPERATOR">=</SEQ>
  219.         <SEQ TYPE="OPERATOR">+</SEQ>
  220.         <SEQ TYPE="OPERATOR">-</SEQ>
  221.         <SEQ TYPE="OPERATOR">/</SEQ>
  222.         <SEQ TYPE="OPERATOR">*</SEQ>
  223.         <SEQ TYPE="OPERATOR">></SEQ>
  224.         <SEQ TYPE="OPERATOR"><</SEQ>
  225.         <SEQ TYPE="OPERATOR">%</SEQ>
  226.         <SEQ TYPE="OPERATOR">&</SEQ>
  227.         <SEQ TYPE="OPERATOR">|</SEQ>
  228.         <SEQ TYPE="OPERATOR">^</SEQ>
  229.         <SEQ TYPE="OPERATOR">~</SEQ>
  230.         <SEQ TYPE="OPERATOR">.</SEQ>
  231.         <SEQ TYPE="OPERATOR">}</SEQ>
  232.         <SEQ TYPE="OPERATOR">{</SEQ>
  233.         <SEQ TYPE="OPERATOR">,</SEQ>
  234.         <SEQ TYPE="OPERATOR">;</SEQ>
  235.         <SEQ TYPE="OPERATOR">]</SEQ>
  236.         <SEQ TYPE="OPERATOR">[</SEQ>
  237.         <SEQ TYPE="OPERATOR">?</SEQ>
  238.         <SEQ TYPE="OPERATOR">@</SEQ>
  239.         <SEQ TYPE="OPERATOR">:</SEQ>
  240.  
  241.         <MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
  242.         <SEQ TYPE="OPERATOR">)</SEQ>
  243.  
  244.         <KEYWORDS>
  245.             <!-- Language constructs (24) -->
  246.             <KEYWORD1>abstract</KEYWORD1>
  247.             <KEYWORD1>break</KEYWORD1>
  248.             <KEYWORD1>byte</KEYWORD1>
  249.             <KEYWORD1>boolean</KEYWORD1>
  250.             <KEYWORD1>catch</KEYWORD1>
  251.             <KEYWORD1>case</KEYWORD1>
  252.             <KEYWORD1>class</KEYWORD1>
  253.             <KEYWORD1>char</KEYWORD1>
  254.             <KEYWORD1>continue</KEYWORD1>
  255.             <KEYWORD1>default</KEYWORD1>
  256.             <KEYWORD1>double</KEYWORD1>
  257.             <KEYWORD1>do</KEYWORD1>
  258.             <KEYWORD1>else</KEYWORD1>
  259.             <KEYWORD1>exists</KEYWORD1>
  260.             <KEYWORD1>extends</KEYWORD1>
  261.             <KEYWORD1>false</KEYWORD1>
  262.             <KEYWORD1>file</KEYWORD1>
  263.             <KEYWORD1>final</KEYWORD1>
  264.             <KEYWORD1>float</KEYWORD1>
  265.             <KEYWORD1>for</KEYWORD1>
  266.             <KEYWORD1>finally</KEYWORD1>
  267.             <KEYWORD1>function</KEYWORD1>
  268.             <KEYWORD1>if</KEYWORD1>
  269.             <KEYWORD1>import</KEYWORD1>
  270.             <KEYWORD1>implements</KEYWORD1>
  271.             <KEYWORD1>int</KEYWORD1>
  272.             <KEYWORD1>interface</KEYWORD1>
  273.             <KEYWORD1>instanceof</KEYWORD1>
  274.             <KEYWORD1>long</KEYWORD1>
  275.             <KEYWORD1>length</KEYWORD1>
  276.             <KEYWORD1>native</KEYWORD1>
  277.             <KEYWORD1>new</KEYWORD1>
  278.             <KEYWORD1>null</KEYWORD1>
  279.             <KEYWORD1>package</KEYWORD1>
  280.             <KEYWORD1>private</KEYWORD1>
  281.             <KEYWORD1>protected</KEYWORD1>
  282.             <KEYWORD1>public</KEYWORD1>
  283.             <KEYWORD1>return</KEYWORD1>
  284.             <KEYWORD1>switch</KEYWORD1>
  285.             <KEYWORD1>synchronized</KEYWORD1>
  286.             <KEYWORD1>short</KEYWORD1>
  287.             <KEYWORD1>static</KEYWORD1>
  288.             <KEYWORD1>super</KEYWORD1>
  289.             <KEYWORD1>try</KEYWORD1>
  290.             <KEYWORD1>true</KEYWORD1>
  291.             <KEYWORD1>this</KEYWORD1>
  292.             <KEYWORD1>throw</KEYWORD1>
  293.             <KEYWORD1>throws</KEYWORD1>
  294.             <KEYWORD1>threadsafe</KEYWORD1>
  295.             <KEYWORD1>transient</KEYWORD1>
  296.             <KEYWORD1>var</KEYWORD1>
  297.             <KEYWORD1>void</KEYWORD1>
  298.             <KEYWORD1>while</KEYWORD1>
  299.  
  300.             <!-- objects -->
  301.             <KEYWORD2></KEYWORD2>
  302.             <KEYWORD2>document</KEYWORD2>
  303.             <KEYWORD2>connection</KEYWORD2>
  304.             <KEYWORD2>file</KEYWORD2>
  305.             <KEYWORD2>query</KEYWORD2>
  306.             <KEYWORD2>session</KEYWORD2>
  307.             <KEYWORD2>site</KEYWORD2>
  308.             <KEYWORD2>system</KEYWORD2>
  309.             <KEYWORD2>typeof</KEYWORD2>
  310.  
  311.             <!-- methods & attributes -->
  312.             <KEYWORD3>AskQuestion</KEYWORD3>
  313.             <KEYWORD3>autoCommit</KEYWORD3>
  314.             <KEYWORD3>Close</KEYWORD3>
  315.             <KEYWORD3>Commit</KEYWORD3>
  316.             <KEYWORD3>Connect</KEYWORD3>
  317.             <KEYWORD3>CreateConnection</KEYWORD3>
  318.             <KEYWORD3>CreateDocument</KEYWORD3>
  319.             <KEYWORD3>CreatePropertySheet</KEYWORD3>
  320.             <KEYWORD3>CreateQuery</KEYWORD3>
  321.             <KEYWORD3>CreateWizard</KEYWORD3>
  322.             <KEYWORD3>cachedOutputTimeOut</KEYWORD3>
  323.             <KEYWORD3>charAt</KEYWORD3>
  324.             <KEYWORD3>connected</KEYWORD3>
  325.             <KEYWORD3>connection</KEYWORD3>
  326.             <KEYWORD3>connectionId</KEYWORD3>
  327.             <KEYWORD3>connectionName</KEYWORD3>
  328.             <KEYWORD3>connectionType</KEYWORD3>
  329.             <KEYWORD3>connectParameters</KEYWORD3>
  330.             <KEYWORD3>contentType</KEYWORD3>
  331.             <KEYWORD3>DeleteConnection</KEYWORD3>
  332.             <KEYWORD3>DeleteDocument</KEYWORD3>
  333.             <KEYWORD3>Disconnect</KEYWORD3>
  334.             <KEYWORD3>database</KEYWORD3>
  335.             <KEYWORD3>dataSource</KEYWORD3>
  336.             <KEYWORD3>dataSourceList</KEYWORD3>
  337.             <KEYWORD3>description</KEYWORD3>
  338.             <KEYWORD3>Exec</KEYWORD3>
  339.             <KEYWORD3>Execute</KEYWORD3>
  340.             <KEYWORD3>ExportTo</KEYWORD3>
  341.             <KEYWORD3>eof</KEYWORD3>
  342.             <KEYWORD3>errorNumber</KEYWORD3>
  343.             <KEYWORD3>errorString</KEYWORD3>
  344.             <KEYWORD3>GetColumnCount</KEYWORD3>
  345.             <KEYWORD3>GetColumnIndex</KEYWORD3>
  346.             <KEYWORD3>GetColumnLabel</KEYWORD3>
  347.             <KEYWORD3>GetConnection</KEYWORD3>
  348.             <KEYWORD3>GetConnectionIdList</KEYWORD3>
  349.             <KEYWORD3>GetConnectionNameList</KEYWORD3>
  350.             <KEYWORD3>GetCWD</KEYWORD3>
  351.             <KEYWORD3>GetDirectory</KEYWORD3>
  352.             <KEYWORD3>GetDocument</KEYWORD3>
  353.             <KEYWORD3>GetEmpty</KEYWORD3>
  354.             <KEYWORD3>GetEnv</KEYWORD3>
  355.             <KEYWORD3>GetErrorCode</KEYWORD3>
  356.             <KEYWORD3>GetErrorInfo</KEYWORD3>
  357.             <KEYWORD3>GetEventList</KEYWORD3>
  358.             <KEYWORD3>GetFilePtr</KEYWORD3>
  359.             <KEYWORD3>GetGenerated</KEYWORD3>
  360.             <KEYWORD3>GetRootDocument</KEYWORD3>
  361.             <KEYWORD3>GetRowCount</KEYWORD3>
  362.             <KEYWORD3>GetServerVariable</KEYWORD3>
  363.             <KEYWORD3>GetState</KEYWORD3>
  364.             <KEYWORD3>GetSupportedMoves</KEYWORD3>
  365.             <KEYWORD3>GetValue</KEYWORD3>
  366.             <KEYWORD3>ImportFrom</KEYWORD3>
  367.             <KEYWORD3>Include</KEYWORD3>
  368.             <KEYWORD3>id</KEYWORD3>
  369.             <KEYWORD3>indexOf</KEYWORD3>
  370.             <KEYWORD3>lastIndexOf</KEYWORD3>
  371.             <KEYWORD3>lastModified</KEYWORD3>
  372.             <KEYWORD3>length</KEYWORD3>
  373.             <KEYWORD3>location</KEYWORD3>
  374.             <KEYWORD3>Move</KEYWORD3>
  375.             <KEYWORD3>MoveFirst</KEYWORD3>
  376.             <KEYWORD3>MoveLast</KEYWORD3>
  377.             <KEYWORD3>MoveNext</KEYWORD3>
  378.             <KEYWORD3>MovePrevious</KEYWORD3>
  379.             <KEYWORD3>MoveRelative</KEYWORD3>
  380.             <KEYWORD3>mode</KEYWORD3>
  381.             <KEYWORD3>name</KEYWORD3>
  382.             <KEYWORD3>OnEvent</KEYWORD3>
  383.             <KEYWORD3>Open</KEYWORD3>
  384.             <KEYWORD3>Opened</KEYWORD3>
  385.             <KEYWORD3>parent</KEYWORD3>
  386.             <KEYWORD3>password</KEYWORD3>
  387.             <KEYWORD3>ReadChar</KEYWORD3>
  388.             <KEYWORD3>ReadLine</KEYWORD3>
  389.             <KEYWORD3>Refresh</KEYWORD3>
  390.             <KEYWORD3>Rollback</KEYWORD3>
  391.             <KEYWORD3>redirect</KEYWORD3>
  392.             <KEYWORD3>Seek</KEYWORD3>
  393.             <KEYWORD3>SetEnv</KEYWORD3>
  394.             <KEYWORD3>SetSQL</KEYWORD3>
  395.             <KEYWORD3>ShowMessage</KEYWORD3>
  396.             <KEYWORD3>substring</KEYWORD3>
  397.             <KEYWORD3>server</KEYWORD3>
  398.             <KEYWORD3>simulateCursors</KEYWORD3>
  399.             <KEYWORD3>size</KEYWORD3>
  400.             <KEYWORD3>source</KEYWORD3>
  401.             <KEYWORD3>status</KEYWORD3>
  402.             <KEYWORD3>timeOut</KEYWORD3>
  403.             <KEYWORD3>toLowerCase</KEYWORD3>
  404.             <KEYWORD3>toUpperCase</KEYWORD3>
  405.             <KEYWORD3>type</KEYWORD3>
  406.             <KEYWORD3>userId</KEYWORD3>
  407.             <KEYWORD3>value</KEYWORD3>
  408.             <KEYWORD3>WriteLine</KEYWORD3>
  409.             <KEYWORD3>Write</KEYWORD3>
  410.             <KEYWORD3>write</KEYWORD3>
  411.             <KEYWORD3>writeln</KEYWORD3>
  412.         </KEYWORDS>
  413.     </RULES>
  414.  
  415.     <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-general">
  416.         <SPAN TYPE="LITERAL1">
  417.             <BEGIN>"</BEGIN>
  418.             <END>"</END>
  419.         </SPAN>
  420.         <SPAN TYPE="LITERAL1">
  421.             <BEGIN>'</BEGIN>
  422.             <END>'</END>
  423.         </SPAN>
  424.  
  425.         <KEYWORDS>
  426.             <KEYWORD2>NAME</KEYWORD2>
  427.         </KEYWORDS>
  428.     </RULES>
  429.  
  430.     <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-data">
  431.         <SPAN TYPE="LITERAL1">
  432.             <BEGIN>"</BEGIN>
  433.             <END>"</END>
  434.         </SPAN>
  435.         <SPAN TYPE="LITERAL1">
  436.             <BEGIN>'</BEGIN>
  437.             <END>'</END>
  438.         </SPAN>
  439.  
  440.         <KEYWORDS>
  441.             <KEYWORD2>NAME</KEYWORD2>
  442.             <KEYWORD2>QUERY</KEYWORD2>
  443.         </KEYWORDS>
  444.     </RULES>
  445.  
  446.     <RULES IGNORE_CASE="TRUE" SET="powerdynamo-tag-document">
  447.         <SPAN TYPE="LITERAL1">
  448.             <BEGIN>"</BEGIN>
  449.             <END>"</END>
  450.         </SPAN>
  451.         <SPAN TYPE="LITERAL1">
  452.             <BEGIN>'</BEGIN>
  453.             <END>'</END>
  454.         </SPAN>
  455.  
  456.         <KEYWORDS>
  457.             <KEYWORD2>CONTENT_TYPE</KEYWORD2>
  458.             <KEYWORD2>REDIRECT</KEYWORD2>
  459.             <KEYWORD2>STATUS</KEYWORD2>
  460.             <KEYWORD2>CACHED_OUTPUT_TIMEOUT</KEYWORD2>
  461.         </KEYWORDS>
  462.     </RULES>
  463.  
  464. </MODE>
  465.